'use strict';

const { default: captain } = require('../model/captain');

const Controller = require('egg').Controller;

class ScController extends Controller {
  async getmes() {
    const { ctx } = this;
    //ctx.body = await ctx.model.Students.findAll();
    const res = await ctx.service.shipcaptain.getmessage()
    //console.log(res)
    ctx.body=res
  }
}


module.exports = ScController;
